<?php

namespace app\common\model;

class PrintShare extends BaseModel
{
    protected $type = [
        "beg_time" => "timestamp",
        "end_time" => "timestamp"
    ];

    public function factory()
    {
        return $this->belongsTo(Factory::class);
    }

    public function diggings()
    {
        return $this->belongsTo(Diggings::class);
    }
}